package com.example.demo.domain.online;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 请求网签平台获取token时候的响应正文
 *
 * @author 叮当猫的百宝箱
 * @since 1.0
 */
@Data
public class TokenData implements Serializable {

    private static final long serialVersionUID = -2099257463063641223L;

    @JsonProperty("access_token")
    private String accessToken;

    @JsonProperty("refresh_token")
    private String refreshToken;

    @JsonProperty("token_type")
    private String tokenType;

    @JsonProperty("expires_in")
    private String expiresIn;
}
